﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KC.DTO.Core;
using System.Runtime.Serialization;

namespace KC.Service.DTO.WorkFlow
{
    [Serializable]
    [DataContract(IsReference = true)]
    public class WorkFlowApplyNodeDto :EntityDTO
    {
        public WorkFlowApplyNodeDto()
        {
            WorkFlowGroups = new List<WorkFlowGroupDto>();
        }
        [DataMember]
        public Guid? Id { get; set; }
        [DataMember]
        public string Title { get; set; }

        public string STitle { get; set; }

        [DataMember]
        public string Code { get; set; }
        [DataMember]
        public string Remark { get; set; }
        [DataMember]
        public Guid ApplicationId { get; set; }
        [DataMember]
        public int WorkFlowCount { get; set; }
        [DataMember]
        public string IsSetDefault { get; set; }
        [DataMember]
        public bool IsEnable { get; set; }
        [DataMember]
        public string IsEnableString { get; set; }
         [DataMember]
        public string ModifiedDateString { get; set; }

        [DataMember]
        public List<WorkFlowGroupDto> WorkFlowGroups { get; set; }
    }
}
